#menu{
	border: none;
}
#top_background{
	width: 100%;
	display: flex;
	background: url("../../images/halloween-4573176_1920.jpg") no-repeat;
	border-top: 3px solid black;
}
#top{
    width: 1200px;
    margin: auto;
    display: flex;
    background: white;
    justify-content: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
}
/* 设置分类样式 */
#category{
    width: 200px;
    position: relative;
    display: flex;
    background: white;
}
/* 分类 */
#category > ul{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
/* 真正的分类 */
#category > ul > li{
    width: 100%;
    padding: 10px 20px;
    position: relative;
    display: flex;
}
#category > ul > li:hover{
    background-color: grey;
    border: 1px solid black;
    color: white;
}
#category > ul > li:hover:after{
	content: '';
	position: absolute;
	display: block;
	top: 0;
	left: 100%;
	width: 2px;
	height: 100%;
	z-index: 1024;
	background: grey;
}
#category > ul > li:hover > a{
    color: white;
}
#category > ul > li > a{
    color: black;
}
#category > ul > li > a:hover{
    
    text-decoration-line: underline;
}
/* 设置分类弹出来的菜单 */
#category > div{
    font-size: 14px;
    width: 390%;
    height: 100%;
    display: none;
    flex-direction: column;
    position: absolute;
    z-index: 2;
    left: 100%;
    top: 0;
    background-color: grey;
}
#category > ul:hover + div{
    display: flex;
     border: 1px solid black;
}
#category > div:hover{
    display: flex;
     border: 1px solid black;
}
/* 设置分类标题 */
#category_title{
    display: flex;
    justify-content: center;   
    margin-bottom: 20px;      
}
#category_title > span{
    background-color: black;
    color: white;
    padding: 5px 10px;
}
/* 设置分类的内容 */
#category_content > div{
    display: flex;
    margin-bottom: 10px;
}
#category_content > div > p{
    width: 150px;
    margin-left: 10px;
}
#category_content > div > ul{
    display: flex;
    flex-wrap: wrap;
}
#category_content > div > ul> li{
    margin-right: 20px;
}
#category_content > div > ul> li > a{
    color: white;
}
#category_content > div > ul> li > a:hover{
    text-decoration-line: underline;
}
/* 设置轮播图 */
#slide_show{
    width: 772px;
    height: 331px;
    border: 1px solid black;
    overflow: hidden;
    position: relative;
    background: white;
}

#slide_pic{
    width: 500%;
    height: 100%;

    position: absolute;
    
    top: 0;
    left: 0;
}
/* 清除浮动 */
.clearFix:after{
    content: '';
    display: block;
    clear: both;
}
/* 设置轮播的图片 */
#slide_pic li{
    height: 100%;
    width: 772px;
    float: left;

    display: flex;
    
    justify-content: center;
    align-content: center;
}
#slide_pic > li > a > img{
	width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 设置焦点 */
#slide_show > ol{
   
    height: 30px;
    background-color: black;
    position: absolute;
    
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 15px;
}
#slide_show >ol > li{
    width: 20px;
    height: 20px;
    cursor: pointer;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-content: center;
}
#slide_show > ol > li.active{
    background-color: red;
}
/* 设置左右箭头 */
#leftRight{
    height: 40px;
    width: 100%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
}
#leftRight > span{
    width: 20px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    color: white;
    font-size: 20px;
    cursor: pointer;
}
/* 设置轮播图下面的图片 */
#slide_bottom{
    display: flex;
    
    background: white;
}
#slide_bottom > a {
	 flex: 1;
	 display: flex;
	 justify-content: center;
	 border: 1px solid  #e6e6e6;
}
#slide_bottom > a > img{
    width: 160px;
    height: 160px;
}
/* 轮播图右边的公告部分 */
#notice{ 
    display: flex;
    flex-direction: column;
    margin-left: 15px;   
}
#notice > img{
    width: 205px;
    height: 195px;
}
/* 设置公告 */
#advert > ul:first-child{
    display: flex;
    justify-content: center;
    align-content: center;
    margin-top: 10px;
}
/* 设置公告被触摸后的效果 */
#advert > ul:first-child > li{
    display: flex;
    justify-content: center;
    align-content: center;
    flex: 1;
    border: 1px solid rgb(87, 87, 87);
}
#advert > ul:first-child > li.active{
    background-color: rgb(87, 87, 87);
    border: 0;
}
#advert > ul:last-child{
    display: flex;
    flex-direction: column;
    border: 1px solid  #e6e6e6;
}
#advert >  ul:last-child > li{
	display: flex;
}
#advert >  ul:last-child > li > a{
    color: black;
    font-size: 14px;
  	white-space: nowrap;
  	overflow: hidden;
  	padding-top: 5px;
}
#advert >  ul:last-child > li >a:hover{
    color: red;
    text-decoration: underline;
}
#advert >  ul:last-child > li > a:before{
	content: '>';
	display: inline-block;
	-webkit-transform:scale(0.6);
	margin: 0 5px;
}
